package com.woniuxy.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Agent;
import com.woniuxy.entity.Transaction;

import java.util.List;

public interface AgentService {
    List<Agent> selectByReference(int id);

    void delete(int id);

    int updateById(Agent agent);

    List<Integer> selectReferenceId(int id);

    void updateTotal(List<Integer> ids);

    List<Transaction> selectAllTransaction();

    PageInfo<Transaction> selectTransactionPriceByMemberid(Integer page, Integer limit);
}
